function resetgen; 
%function resetgen; 
% Resets the random number generator 
rand('state',sum(100*clock));
randn('state',sum(100*clock));